package com.lq.educationsystem.lqsubject.service;

import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.TeacherSubjectPageVo;
import com.lq.educationsystem.lqsubject.entiy.TeacherSubjectTb;

import java.util.List;

public interface SubjectTeacherBaseService {
    /**
     * 分页查询
     * @param teacherSubjectPageVo
     * @return
     */
    ResultPage<TeacherSubjectTb> queryList(TeacherSubjectPageVo teacherSubjectPageVo);


    void insertInfo(TeacherSubjectTb teacherSubjectTb);

    void updateInfo(TeacherSubjectTb teacherSubjectTb);


    void deleteInfo(TeacherSubjectTb teacherSubjectTb);


    ResultPage<TeacherSubjectTb> queryTeacherSubjectInfoByTeacherSubjectId(List<Integer> teacherSUbjectInfoIdList);

    /**
     * 通过教师id查询所授课程id
     * @param teacherId
     * @return
     */
    ResultPage<TeacherSubjectTb> queryTeacherSubjectInfoByTeacherId(Integer teacherId);

    /**
     * 批量查询数据 通过teacherSubjectId
     * @param teacherSubjectPageVo
     * @return
     */

}
